package com.itlong.cloud.POJO.DTO.app;

import lombok.Getter;
import lombok.Setter;

/**
*<desc>
*    APP端用户输入对象
*</desc>
*@createDate: 2017/9/25
*/
@Getter
@Setter
public class AppUserRegisterDTO {
    private String userId; //用户ID
    private String phoneNo;  //用户手机号
    private String userName; //用户姓名
    private String nickName; //用户昵称
    private String language;  //语种
    private String icon;  //头像地址
    private String sex; //0男、1女



    private String token;  //用户TOKEN
    private String pswd; //密码
    private String uuid; //设备ID



    public AppUserRegisterDTO(){

    }

    /** 验证验证码时对象初始化
     *
     * @param userId
     * @param phoneNo
     * @param token
     */
    public AppUserRegisterDTO(String userId, String phoneNo, String token){
        this.userId = userId;
        this.phoneNo = phoneNo;
        this.token = token;
    }

    public AppUserRegisterDTO(String userId, String userName, String nickName,String sex,String pswd, String token){
        this.userId = userId;
        this.userName = userName;
        this.nickName = nickName;
        this.sex = sex;
        this.pswd = pswd;
        this.token = token;
    }
}
